669c217f51dbcbe548e4c264a5912f33392edc42,core/baseLanguage/baseLanguage/source_gen/jetbrains/mps/baseLanguage/plugin/IntroduceVariable_Action.java,IntroduceVariable_Action,doExecute,#AnActionEvent#,83

Before Change



      });
      IntroduceLocalVariableDialog dialog = new IntroduceLocalVariableDialog(IntroduceVariable_Action.this.frame, refactoring.value, IntroduceVariable_Action.this.context);
      dialog.showDialog();
    } catch (Throwable t) {
      LOG.error("User's action execute method failed. Action:" + "IntroduceVariable", t);
    }

After Change


        }

      });
      if (error.value == null) {
        IntroduceLocalVariableDialog dialog = new IntroduceLocalVariableDialog(IntroduceVariable_Action.this.frame, refactoring.value, IntroduceVariable_Action.this.context);
        dialog.showDialog();
      } else
      {
        JOptionPane.showMessageDialog(IntroduceVariable_Action.this.component, error.value, "Error", JOptionPane.ERROR_MESSAGE);